package com.start_eternity.oasissafewalk.pojo;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * author:ZhangT
 * Date:2024 / 03 / 29 / 21:02
 * Description:
 */
@Data
public class Order {

    private Integer orderId;

    //订单编号
    @JsonProperty("orderNo")
    private String orderNo;

    //订单支付 状态
    private int orderStatus;

    //支付金额
    private Float orderAmount;

    //支付渠道名称
    private String payChannel;

    //随送人
    private int pad;

    //备注
    private String orderRemark;

    //关联家长id
    private Integer parentId;

    //关联学生id
    private Integer sId;

    //下单时间
    @JsonProperty("ctime")
    private LocalDateTime ctime;

    //订单完成 状态
    private int pickupStatus;

    //起始经度
    private Double startLatitude;

    //起始纬度
    private Double startLongitude;

    //终点经度
    private Double endLatitude;

    //终点纬度
    private Double endLongitude;

    //详细订单输入的站点查询
    private OrderDetails orderDetails;

    private Parent parent;
}
